package com.lkhd.manage.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "`tickettype`")
public class Tickettype implements Serializable{
    @Id
    @Column(name = "`ticketTypeId`")
    private Long tickettypeid;

    @Column(name = "`activityId`")
    private Long activityid;

    @Column(name = "`name`")
    private String name;

    @Column(name = "`price`")
    private Double price;

    @Column(name = "`descs`")
    private String descs;

    @Column(name = "`startTime`")
    private Date starttime;

    @Column(name = "`endTime`")
    private Date endtime;

    @Column(name = "`maxNum`")
    private Integer maxnum;

    @Column(name = "`createDate`",insertable=false)
    private Date createdate;

    @Column(name = "`updataDate`",updatable=false)
    private Date updatadate;

    /**
     * @return ticketTypeId
     */
    public Long getTickettypeid() {
        return tickettypeid;
    }

    /**
     * @param tickettypeid
     */
    public void setTickettypeid(Long tickettypeid) {
        this.tickettypeid = tickettypeid;
    }

    /**
     * @return activityId
     */
    public Long getActivityid() {
        return activityid;
    }

    /**
     * @param activityid
     */
    public void setActivityid(Long activityid) {
        this.activityid = activityid;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return price
     */
    public Double getPrice() {
        return price;
    }

    /**
     * @param price
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * @return descs
     */
    public String getDescs() {
        return descs;
    }

    /**
     * @param descs
     */
    public void setDescs(String descs) {
        this.descs = descs;
    }

    /**
     * @return startTime
     */
    public Date getStarttime() {
        return starttime;
    }

    /**
     * @param starttime
     */
    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    /**
     * @return endTime
     */
    public Date getEndtime() {
        return endtime;
    }

    /**
     * @param endtime
     */
    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    /**
     * @return maxNum
     */
    public Integer getMaxnum() {
        return maxnum;
    }

    /**
     * @param maxnum
     */
    public void setMaxnum(Integer maxnum) {
        this.maxnum = maxnum;
    }

    /**
     * @return createDate
     */
    public Date getCreatedate() {
        return createdate;
    }

    /**
     * @param createdate
     */
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /**
     * @return updataDate
     */
    public Date getUpdatadate() {
        return updatadate;
    }

    /**
     * @param updatadate
     */
    public void setUpdatadate(Date updatadate) {
        this.updatadate = updatadate;
    }
}